package com.group9.mapper;

import com.group9.pojo.FruitCategory;
import com.group9.pojo.FruitCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FruitCategoryMapper {
    int countByExample(FruitCategoryExample example);

    int deleteByExample(FruitCategoryExample example);

    int deleteByPrimaryKey(Integer fruitCategoryId);

    int insert(FruitCategory record);

    int insertSelective(FruitCategory record);

    List<FruitCategory> selectByExample(FruitCategoryExample example);

    FruitCategory selectByPrimaryKey(Integer fruitCategoryId);

    int updateByExampleSelective(@Param("record") FruitCategory record, @Param("example") FruitCategoryExample example);

    int updateByExample(@Param("record") FruitCategory record, @Param("example") FruitCategoryExample example);

    int updateByPrimaryKeySelective(FruitCategory record);

    int updateByPrimaryKey(FruitCategory record);
}